﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Specialist/SpecialistMaster.Master"
    AutoEventWireup="true" CodeBehind="OpenConsult.aspx.cs" Inherits="MyHealthOnline.Specialist.OpenConsult" %>
<%@ Register TagPrefix="uc" TagName="End" Src="~/Common/EndConsult.ascx" %>
<%@ Register TagPrefix="uc" TagName="MessageHistory" Src="~/Common/ConsultHistory.ascx" %>
<%@ Register TagPrefix="uc" TagName="Appointments" Src="~/Common/Appointments.ascx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register TagPrefix="uc" TagName="Questions" Src="~/Specialist/Controls/Questions.ascx" %>
<%@ Register TagPrefix="uc" TagName="Questionnaire" Src="~/Specialist/Controls/Questionnaire.ascx" %>
<%@ Register TagPrefix="uc" TagName="EndConsult" Src="~/Specialist/Controls/EndConsult.ascx" %>
<%@ Register TagPrefix="uc" TagName="NextAppointment" Src="~/Specialist/Controls/NextAppointment.ascx" %>
<%@ Register TagPrefix="uc" TagName="Message" Src="~/Specialist/Controls/Message.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    View Consult
    <br />
    <asp:Panel ID="pnlPatient" runat="server">
        <table>
            <tr>
                <td>
                    Name:
                </td>
                <td>
                    <asp:Literal ID="litName" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    Patient Number:
                </td>
                <td>
                    <asp:Literal ID="litPatientNumber" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    Date of Birth:
                </td>
                <td>
                    <asp:Literal ID="litDateOfBirth" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    Email:
                </td>
                <td>
                    <asp:Literal ID="litEmail" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    Mobile:
                </td>
                <td>
                    <asp:Literal ID="litMobile" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    Consult Date:
                </td>
                <td>
                    <asp:Literal ID="litConsultDate" runat="server"></asp:Literal>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <br />
    <uc:End id="ucEnd" runat="server"></uc:End>
    <br />
    <uc:Appointments ID="ucAppointments" runat="server">
    </uc:Appointments>
    <br />
    <uc:MessageHistory ID="ucMessageHistory" runat="server"></uc:MessageHistory>
    <asp:UpdatePanel ID="pnlActions" runat="server" ChildrenAsTriggers="true">
        <ContentTemplate>
            <table>
                <tr>
                    <td>
                        Action:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlActions" runat="server" OnSelectedIndexChanged="ddlActions_SelectedIndexChanged"
                            AutoPostBack="true">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <uc:Questions ID="ucQuestions" runat="server" Visible="false" IsQuestionnaire="false"></uc:Questions>
                        <uc:Questionnaire ID="ucQuestionnaire" runat="server" Visible="false"></uc:Questionnaire>
                        <uc:EndConsult ID="ucEndConsult" runat="server" Visible="false" />
                        <uc:NextAppointment ID="ucNextAppointment" runat="server" Visible="false"></uc:NextAppointment>
                        <uc:Message ID="ucMessage" runat="server" Visible="false"></uc:Message>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel >
    
</asp:Content>
